package cc.ycws.core.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;

/**
  * <p>
  * 常量表
  * </p>
  *
  * @author tutu
  * @since 2018-05-22
  */
@TableName("mdm_dict_item")
public class MdmDictItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 对应的字典编码
     */
    @TableField("dict_code")
    private String dictCode;

    /**
     * 字典列表的信息名称1
     */
    @TableField("item_name1")
    private String itemName1;

    /**
     * 字典列表的信息值1
     */
    @TableField("item_val1")
    private String itemVal1;

    /**
     * 字典列表的信息名称2
     */
    @TableField("item_name2")
    private String itemName2;

    /**
     * 字典列表的信息值2
     */
    @TableField("item_val2")
    private String itemVal2;

    /**
     * 字典列表的信息名称3
     */
    @TableField("item_name3")
    private String itemName3;

    /**
     * 字典列表的信息值3
     */
    @TableField("item_val3")
    private String itemVal3;

    /**
     * 建档人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String creator;

    /**
     * 建档时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifier;

    /**
     * 修改时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

    /**
     * 备注
     */
    private String remarks;

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
    this.id = id;
    }
    public String getDictCode() {
    return dictCode;
    }

    public void setDictCode(String dictCode) {
    this.dictCode = dictCode;
    }
    public String getItemName1() {
    return itemName1;
    }

    public void setItemName1(String itemName1) {
    this.itemName1 = itemName1;
    }
    public String getItemVal1() {
    return itemVal1;
    }

    public void setItemVal1(String itemVal1) {
    this.itemVal1 = itemVal1;
    }
    public String getItemName2() {
    return itemName2;
    }

    public void setItemName2(String itemName2) {
    this.itemName2 = itemName2;
    }
    public String getItemVal2() {
    return itemVal2;
    }

    public void setItemVal2(String itemVal2) {
    this.itemVal2 = itemVal2;
    }
    public String getItemName3() {
    return itemName3;
    }

    public void setItemName3(String itemName3) {
    this.itemName3 = itemName3;
    }
    public String getItemVal3() {
    return itemVal3;
    }

    public void setItemVal3(String itemVal3) {
    this.itemVal3 = itemVal3;
    }
    public String getCreator() {
    return creator;
    }

    public void setCreator(String creator) {
    this.creator = creator;
    }
    public Date getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public String getModifier() {
    return modifier;
    }

    public void setModifier(String modifier) {
    this.modifier = modifier;
    }
    public Date getModifyTime() {
    return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
    this.modifyTime = modifyTime;
    }
    public String getRemarks() {
    return remarks;
    }

    public void setRemarks(String remarks) {
    this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "MdmDictItem{" +
                "id=" + id +
                ", dictCode=" + dictCode +
                ", itemName1=" + itemName1 +
                ", itemVal1=" + itemVal1 +
                ", itemName2=" + itemName2 +
                ", itemVal2=" + itemVal2 +
                ", itemName3=" + itemName3 +
                ", itemVal3=" + itemVal3 +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", modifier=" + modifier +
                ", modifyTime=" + modifyTime +
                ", remarks=" + remarks +
        "}";
    }
}
